export namespace Login {
  export interface Form {
    userName: string;
    password: string;
  }
  // 登陆返回信息
  export interface LoginInfo {
    readonly token?: string;
  }

  // 用户信息
  export interface UserInfoVo {
    id: string;
    nickName: string;
    avatar: string;
    sex: string;
    email: string;
  }

  export interface UserInfo {
    user: Partial<UserInfoVo>;
    roles: Array<string>,
    permissions: Array<string>;
  }
}

